.tw-libsidenav {
  width: 200px;
  min-height: 100px;
  background: #fff;
  border-radius: 7px;
}

.tw-libsidenav-header {
  height: 50px;
  line-height: 50px;
  background-color: #f12e22;
  color: #fff;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

.tw-libsidenav-body {
  padding: 20px 0;
}

.tw-libsidenav-header > h4 {
  font-size: 18px;
  font-weight: 700;
}

.tw-libsidenav-item > a {
  position: relative;
  display: block;
  padding: 0 20px;
  line-height: 34px;
  font-size: 16px;
  color: #333;
}

.tw-libsidenav-item .tw-libsidenav-menus {
  overflow-x: hidden;
  overflow-y: auto;

  &::-webkit-scrollbar {
    width: 8px;
    background-color: #f5f5f5;
  }

  &::-webkit-scrollbar-track {
    background-color: #f5f5f5;
    border-radius: 8px;
  }

  &::-webkit-scrollbar-thumb {
    background-color: #666;
    border-radius: 8px;
  }
}

.tw-libsidenav-item.xsub > a {
  font-size: 12px;
  color: #666;
}

.tw-libsidenav-item.xactive > a {
  background-color: #fce9e7;
}

.tw-libsidenav-item:hover > a,
.tw-libsidenav-item.xactive > a,
.tw-libsidenav-item.xexpanded > a {
  color: #e62517;
  font-weight: 700;
}

.tw-libsidenav-item .iconfont.xcaret {
  position: absolute;
  top: 0;
  right: 5px;
  font-size: 12px;
}

.tw-libsidenav-item-icon {
  position: absolute;
  top: 0;
  right: 5px;
}

.tw-libsidenav-item.xexpanded > a > .iconfont.xcaret {
  transform: rotate(90deg);
}

.tw-libsidenav-item > a > .xicon,
.tw-libsidenav-item > a > .xhovericon {
  margin-right: 10px;
}

.tw-libsidenav-item > a > .xhovericon,
.tw-libsidenav-item.xactive > a > .xicon,
.tw-libsidenav-item:hover > a > .xicon {
  display: none;
}

.tw-libsidenav-item.xactive > a > .xhovericon,
.tw-libsidenav-item:hover > a > .xhovericon {
  display: inline-block;
}

.tw-libsidenav.xhidesubmenu .tw-libsidenav-menus {
  display: none;
}